<template>
	<view class="goodboxpage">
		<swiper class="swiper" circular indicator-dots autoplay interval="1000"
						duration>
			<swiper-item>
					<view class="swiperitem">
							<image src="/static/image/banner-1-https://changban.dianjingkeji.net/img/banner-1-拷贝.jpg/banner-1-https://changban.dianjingkeji.net/img/banner-1-拷贝.jpg.jpg" mode=""></image>
					</view>
			</swiper-item>
		</swiper>
		<view class="line">
			<view class="price">
				<view class="danwei">
					￥
				</view>
				<view class="pricenum">
					1060
				</view>
			</view>
			<view class="number">
				已售100件
			</view>
		</view>
		<view class="jifenline">
			<view class="jifenlabel">
				积分换购
			</view>
			<view class="iconfont icon-xiangyou1">
				
			</view>
		</view>
		<view class="namebox">
			<view class="label">
				医生长伴
			</view>
			   超级抗原巨余多肽蛋白饮品增强免疫力术后恢复加快骨愈合

		</view>
		<view class="labelline">
			<span class="itemlabel">免费配送</span>
			<span class="itemlabel">专家组线上指导</span>
		</view>
		<view class="sendline">
			<view class="sendleft">
				<view class="iconfont icon-store">
					
				</view>
				<view class="sendlabel">
					支持送亲友
				</view>
			</view>
			<view class="sendbtn">
				一键送礼
				<view class="iconfont icon-xiangyou1">
					
				</view>
			</view>
		</view>
		
			
	
		
		
		<view class="footbox">
			<view class="itemfoot">
				<view class="iconfont icon-store">
					
				</view>
				<view class="itemfootname">
					厂商
				</view>
			</view>
			<view class="itemfoot">
				<view class="iconfont icon-kefu2">
					
				</view>
				<view class="itemfootname">
					客服
				</view>
			</view>
			<view class="itemfoot">
				<view class="iconfont icon-gouwuche">
					
				</view>
				<view class="itemfootname">
				购物车
				</view>
			</view>
			<view class="footbtnbox">
				<view class="addcar">
					加入购物车
				</view>
				<view class="paybtn">
					立即购买
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="less">
	.goodboxpage{
		width: 750rpx;
		box-sizing: border-box;
		background: linear-gradient(180deg, rgba(242,248,255,1) 0%,rgba(255,255,255,0) 76%);
		.swiper{
			width: 100%;
			height: 600rpx;
			.swiperitem{
				width: 100%;
				height: 100%;
				image{
					width: 100%;
					height: 100%;
				}
			}
		}
		.line{
			width: 100%;
			height: 120rpx;
			background-color: #ff0c10;
			color: white;
			box-sizing: border-box;
			padding: 20rpx 40rpx;
			line-height: 40rpx;
			.price{
				display: flex;
				.pricenum{
					font-weight: bold;
				}
			}
		}
		.jifenline{
			width: 100%;
			box-sizing: border-box;
			padding: 20rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			.jifenlabel{
				background-color: #FEEBF1;
				color: #FF1F00;
				font-size: 30rpx;
				font-weight: bold;
				padding: 20rpx;
				border-radius: 6rpx;
			}
		}
		.namebox{
			width: 100%;
			box-sizing: border-box;
			padding: 20rpx;
			display: flex;
			align-items: flex-start;
			font-weight: bold;
			.label{
				width: 160rpx;
				text-align: center;
				font-size: 30rpx;
				color: white;
				background-color: #FF1F00 ;
				border-radius: 10rpx;
				margin-right: 10rpx;
			}
		}
		.labelline{
			width: 100%;
			box-sizing: border-box;
			padding: 20rpx;
			display: flex;
			align-items: center;
			font-weight: bold;
			.itemlabel{
				color: #AA7A00 ;
				background-color: #FFF4D8;
				font-size: 24rpx;
				padding: 10rpx 20rpx;
				margin-right: 20rpx;
				border-radius: 10rpx;
				
			}
		}
		.sendline{
			width: 90%;
			height: 90rpx;
			line-height: 90rpx;
			box-sizing: border-box;
			margin: auto;
			margin-top: 20rpx;
			padding-right: 10rpx;
			display: flex;
			align-items: center;
			background-color: #FEEEEE ;
			font-weight: bold;
			justify-content: space-between;
			border-radius: 20rpx;
			
			.sendleft{
				display: flex;
				align-items: center;
				margin-left: 30rpx;
				color:#650000 ;
				font-weight: bold;
				font-size: 34rpx;
				.iconfont{
					color: #FF1F00;
					margin-right: 10rpx;
					font-size: 46rpx;
				}
			}
			.sendbtn{
				width: 200rpx;
				height: 70rpx;
				display: flex;
				color: white;
				justify-content: center;
				align-items: center;
				background-color: #FF1F00;
				font-weight: bold;
				font-size: 34rpx;
				border-radius: 14rpx;
				
			}
		}
		
		
		
		
		.footbox{
			width: 750rpx;
			height: 150rpx;
			position: fixed;
			left: 0;
			right: 0;
			bottom: 0;
			background-color: white;
			display: flex;
			align-items: center;
			justify-content: space-evenly;
			.itemfoot{
				width: 16%;
				text-align: center;
				font-weight: bold;
				font-size: 28rpx;
				.iconfont{
					margin: auto;
						font-size: 40rpx;
				}
			}
			.footbtnbox{
				width: 50%;
				display: flex;
				align-items: center;
				height: 90rpx;
				font-weight: bold;
				.addcar{
					width: 50%;
					height: 100%;
					line-height: 90rpx;
					color: #AA7A00 ;
					background-color: #FFE8C9;
					text-align: center;
                   border-top-left-radius: 20rpx;
				     border-bottom-left-radius: 20rpx;
				}
				.paybtn{
					width: 50%;
					height: 100%;
					line-height: 90rpx;
										color: white;
										background-color: #FF1F00;
										text-align: center;
					border-top-right-radius: 20rpx;
					  border-bottom-right-radius: 20rpx;
				}
				
			}
		}
	}

</style>
